home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
utilstem
/
dosutil2
/
scrn.doc
< prev
next >
Wrap
Text File
|
1993-01-01
|
3KB
|
57 lines
╔═══════════════════════════════════════════════════════════════════╗
║ Copyright (c), 1984 by J. T. Thannum ║
║ All rights reserved. May be copied ║
║ for personal non-commercial use only. ║
╚═══════════════════════════════════════════════════════════════════╝
SCRN n
[options]
n - The Delay Interval in Minutes as a single Integer from 1 to 9
[Default: 10 Minutes]
SCRN is a screen saver utility command which operates using the Timer,
Video and Keyboard Interrupts to monitor activity of the system user. Upon
detecting no entry via the keyboard OR output to the monitor(s) for "n" min.
the SCRN routine will turn off the video to all monitors attached to the
system. The idea for this program originated from an article in Softalk,
Dec. 1983 by John Socha. However, the version presented in this article
had several limitations which needed to be corrected for a viable
permanmently resident utility. These limitations became the design
criteria for this version, as follows:
1. Must turn "both" color and monochrome monitors off, not
just the active monitor on two monitor systems.
2. Must function in a single monitor envirnoment with either
monitor attached.
3. Must be extremely frugal in execution. Since this routine
will be executed at each timer interrupt,or 18.2 times/sec,
and at each keyboard interrupt the routine must have the
minimum of overhead so as not to degrade system performance.
4. Must be able blank background on color monitor as well as
foreground text or graphics.
5. Should utilize the User Exit Interrupt provided in the
Timer Routine. [INT 1C] (This can be considered optional)
6. Handle the blanking of the cursor on the Monochrome display
more efficiently.
7. Output to the Monitor(s) should reset the timeout counter
within the delay window but not turn the video back on if
a timeout has occurred.
8. Optional Parameter to set Delay Interval from 1 to 10 min.
(Special Note: The Mode register definition shown in the Softalk article
is incorrect as well as the referenced Enable Video bit.
The program is correct as shown in the article.)
For efficiency and execution the Screen Saver program "hard codes"
addresses and uses its own routine to set adapter parameters. However,
this hard coding is done via equates and because of the brevity of the
program this would cause only minor problems if changes were required.
J. T. Thannum
Naperville, Ill 60540
END OF TRANSFER - PRESS ENTER TO RETURN TO MENU
changes were required.
J. T. Thannum
Naperville, Ill